<!DOCTYPE html>
<html>
<head>
<title> Mail Us </title>
	<!-- for-mobile-apps -->
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="" />
	<script> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
			function hideURLbar(){ window.scrollTo(0,1); } </script>
	<!-- //for-mobile-apps -->
	<link href="<?php echo base_url('assets/index/css/');?>bootstrap.css" rel="stylesheet" type="text/css" media="all" />
	<link href="<?php echo base_url('assets/index/css/');?>style.css" rel="stylesheet" type="text/css" media="all" />
	<!-- js -->
	<script src="<?php echo base_url('assets/index/js/');?>jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script>
</head>
<body>

<!-- banner-body -->
	<div class="banner-body">
		<div class="container">
			<div class="banner-body-content">
			<div class="col-xs-3 banner-body-left">
				<div class="logo">
					<h1><a href="index.html"> Great <span> Taste </span></a></h1>
				</div>
				<div class="top-nav">
					<nav class="navbar navbar-default">
						<!-- Brand and toggle get grouped for better mobile display -->
						<div class="navbar-header">
						  <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
							<span class="sr-only">Toggle navigation</span>
							<span class="icon-bar"></span>
							<span class="icon-bar"></span>
							<span class="icon-bar"></span>
						  </button>
						</div>

						<!-- Collect the nav links, forms, and other content for toggling -->
						<div class="collapse navbar-collapse nav-wil" id="bs-example-navbar-collapse-1">
							<nav class="stroke">
								<ul class="nav navbar-nav">
									<li><a href="index.html" class="hvr-underline-from-left">
										<i class="home1"></i> 首页
									</a></li>
									<li><a href="photos.html" class="hvr-underline-from-left">
										<i class="picture1"></i> 舌尖图库
									</a></li>
									<li><a href="blog.html" class="hvr-underline-from-left">
										<i class="edit1"></i> 美食日志
									</a></li>
									<li class="active"><a href="mail.html">
										<i class="envelope"></i> 联系我们
									</a></li>
									<li><a href="short-codes.html" class="hvr-underline-from-left">
										<i class="text-size1"></i> 示例
									</a></li>
								</ul>
							</nav>
						</div>
						<!-- /.navbar-collapse -->
					</nav>
				</div>
			</div>
			<div class="col-xs-9 banner-body-right">
				<div class="wmuSlider example1">
					<div class="wmuSliderWrapper">
						<article style="position: absolute; width: 100%; opacity: 0;"> 
							<div class="banner-wrap">
								<div class="banner">
								</div>
							</div>
						</article>
						<article style="position: absolute; width: 100%; opacity: 0;"> 
							<div class="banner-wrap">
								<div class="banner1">
								</div>
							</div>
						</article>
						<article style="position: absolute; width: 100%; opacity: 0;"> 
							<div class="banner-wrap">
								<div class="banner2">
								</div>
							</div>
						</article>
					</div>
				</div>
					<script src="<?php echo base_url('assets/index/js/');?>jquery.wmuSlider.js"></script> 
					  <script>
						$('.example1').wmuSlider();         
					 </script> 
				<div class="banner-bottom">
					<div class="col-md-4 banner-left">
						<div class="col-xs-3 banner-left1">
							<div class="banner-left11">
								<span> </span>
							</div>
						</div>
						<div class="col-xs-9 banner-right1">
							<h3> 牛肉汉堡 </h3>
						</div>
						<div class="clearfix"> </div>
						<p>
							限制字数，填写舌尖美食三大特色之一。限制字数，填写舌尖美食三大特色之一。
						</p>
					</div>
					<div class="col-md-4 banner-left">
						<div class="col-xs-3 banner-left1">
							<div class="banner-left22">
								<span> </span>
							</div>
						</div>
						<div class="col-xs-9 banner-right1">
							<h3> 鲁本三明治 </h3>
						</div>
						<div class="clearfix"> </div>
						<p>
							限制字数，填写舌尖美食三大特色之一。限制字数，填写舌尖美食三大特色之一。
						</p>
					</div>
					<div class="col-md-4 banner-left">
						<div class="col-xs-3 banner-left1">
							<div class="banner-left33">
								<span> </span>
							</div>
						</div>
						<div class="col-xs-9 banner-right1">
							<h3> 红烧猪肠 </h3>
						</div>
						<div class="clearfix"> </div>
						<p>
							限制字数，填写舌尖美食三大特色之一。限制字数，填写舌尖美食三大特色之一。
						</p>
					</div>
					<div class="clearfix"></div>
				</div>
			</div>
			<div class="clearfix"> </div>
			<div class="col-xs-3 banner-body-left">
				<div class="latest-news">
					<h2> Latest News </h2>
					<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
					  <div class="panel panel-default">
						<div class="panel-heading" role="tab" id="headingOne">
						  <h4 class="panel-title">
							<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
							  Michael Vol
							</a>
						  </h4>
						</div>
						<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
						  <div class="panel-body">
							这里书写工作人员的人生格言或者最近动态，可以从后台发表动态，限制字数。这里书写工作人员的人生格言或者最近动态，可以从后台发表动态，限制字数。
						  </div>
						</div>
					  </div>
					  <div class="panel panel-default">
						<div class="panel-heading" role="tab" id="headingTwo">
						  <h4 class="panel-title">
							<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
							  Andrew Rich
							</a>
						  </h4>
						</div>
						<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
						  <div class="panel-body">
							这里书写工作人员的人生格言或者最近动态，可以从后台发表动态，限制字数。这里书写工作人员的人生格言或者最近动态，可以从后台发表动态，限制字数。
						  </div>
						</div>
					  </div>
					  <div class="panel panel-default">
						<div class="panel-heading" role="tab" id="headingThree">
						  <h4 class="panel-title">
							<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
							  Rita Rock
							</a>
						  </h4>
						</div>
						<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
						  <div class="panel-body">
							这里书写工作人员的人生格言或者最近动态，可以从后台发表动态，限制字数。这里书写工作人员的人生格言或者最近动态，可以从后台发表动态，限制字数。
						  </div>
						</div>
					  </div>
					</div>
					<div class="join">
						<a href="single.html"> Learn More </a>
					</div>
					<h3> Benefits </h3>
					<p>
						这里填写一段什么话比较好呢，需要后台进行Options管理。
						这里填写一段什么话比较好呢，需要后台进行Options管理。
						这里填写一段什么话比较好呢，需要后台进行Options管理。
						这里填写一段什么话比较好呢，需要后台进行Options管理。
						这里填写一段什么话比较好呢，需要后台进行Options管理。
					</p>
				</div>
			</div>
			<div class="col-xs-9 banner-body-right">
				<div class="gallery-head">
					<h5> Mail Us </h5>
					<p>
						对该美食的描述，限制字数。对该美食的描述，限制字数。对该美食的描述，限制字数。对该美食的描述，限制字数。对该美食的描述，限制字数。对该美食的描述，限制字数。对该美食的描述，限制字数。对该美食的描述，限制字数。
					</p>
				</div>
				<!-- mail -->
				<div class="mail">
					<div class="mail-grid1">
						<h3> Contact <span> Info </span></h3>
						<p>
							对该美食的描述，限制字数。对该美食的描述，限制字数。对该美食的描述，限制字数。对该美食的描述，限制字数。
						</p>
						<ul>
							<li>
								<i class="glyphicon glyphicon-earphone" aria-hidden="true"></i> Phone
								<span> +86 181-7401-9147 </span>
							</li>
							<li>
								<i class="glyphicon glyphicon-envelope" aria-hidden="true"></i> Email
								<a href="mailto:erchoc@qq.com?subject=来自GreatTaste的咨询邮件&body=示例正文文本"> erchoc@qq.com </a>
							</li>
						</ul>
						<ul>
							<li>
								<i class="glyphicon glyphicon-map-marker" aria-hidden="true"></i> Address
								<span> 江西省-赣州市-宁都县-黄石镇-海会路888号 </span>
							</li>
						</ul>
					</div>
					<div class="mail-grid1">
						<h3> Send a <span> Message </span></h3>
						<p> 如果您对软件开发感兴趣或者需要相应的网站建设，也可以使用邮件联系我们。</p>
						<form>
							<input type="text" placeholder="您的称呼" required=" ">
							<input type="text" placeholder="邮件标题" required=" ">
							<textarea placeholder="请在此处填写邮件正文" required=" "></textarea>
							<input type="submit" value="发送邮件">
						</form>
					</div>
				</div>
				<div class="map">
					<h3> Location On <span> Map </span></h3>
					<div style="width:800px; height:400px; border:#ccc solid 1px;" id="dituContent" allowfullscreen></div>
				</div>
			</div>
			<div class="clearfix"> </div>
			<div class="footer">
				<div class="footer-left">
					<ul>
						<li><a href="javascript:void();"> Privacy Policy </a> | </li>
						<li><a href="https://github.com/jikehui"> Terms of Us</a> | </li>
						<li><a href="mail.html"> Contact Us </a></li>
					</ul>
					<p> Copyright &copy; 2018.Company name All rights reserved.More Infomations 
						<a href="https://erchoc.github.io" target="_blank" title="Erchoc"> Erchoc的博客 </a>
					</p>
				</div>
				<div class="footer-right">
					<ul class="social-nav model-3">
						<li><a href="#" class="icon icon-border facebook"></a></li>
						<li><a href="#" class="icon icon-border twitter"></a></li>
						 <li><a href="#" class="icon icon-border googleplus"></a></li>
						 <li><a href="https://www.github.com/erchoc" class="icon icon-border github"></a></li>
						 <li><a href="#" class="icon icon-border rss"></a></li>
					</ul>
				</div>
				<div class="clearfix"> </div>
			</div>
		</div>
		</div>
	</div>
<!-- //banner-body -->
<!-- for bootstrap working -->
	<script src="<?php echo base_url('assets/index/js/');?>bootstrap.js"></script>
<script type="text/javascript">
    //创建和初始化地图函数：
    function initMap(){
        createMap();//创建地图
        setMapEvent();//设置地图事件
        addMapControl();//向地图添加控件
        addMarker();//向地图中添加marker
    }
    
    //创建地图函数：
    function createMap(){
        var map = new BMap.Map("dituContent");//在百度地图容器中创建一个地图
        var point = new BMap.Point(115.832735,28.72406);//定义一个中心点坐标
        map.centerAndZoom(point,17);//设定地图的中心点和坐标并将地图显示在地图容器中
        window.map = map;//将map变量存储在全局
    }
    
    //地图事件设置函数：
    function setMapEvent(){
        map.enableDragging();//启用地图拖拽事件，默认启用(可不写)
        map.enableScrollWheelZoom();//启用地图滚轮放大缩小
        map.enableDoubleClickZoom();//启用鼠标双击放大，默认启用(可不写)
        map.enableKeyboard();//启用键盘上下左右键移动地图
    }
    
    //地图控件添加函数：
    function addMapControl(){
        //向地图中添加缩放控件
	var ctrl_nav = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});
	map.addControl(ctrl_nav);
        //向地图中添加缩略图控件
	var ctrl_ove = new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:1});
	map.addControl(ctrl_ove);
        //向地图中添加比例尺控件
	var ctrl_sca = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});
	map.addControl(ctrl_sca);
    }
    
    //标注点数组
    var markerArr = [{title:"东华理工大学",content:"东华理工大学",point:"115.832519|28.724361",isOpen:0,icon:{w:21,h:21,l:0,t:0,x:6,lb:5}}
		 ];
    //创建marker
    function addMarker(){
        for(var i=0;i<markerArr.length;i++){
            var json = markerArr[i];
            var p0 = json.point.split("|")[0];
            var p1 = json.point.split("|")[1];
            var point = new BMap.Point(p0,p1);
			var iconImg = createIcon(json.icon);
            var marker = new BMap.Marker(point,{icon:iconImg});
			var iw = createInfoWindow(i);
			var label = new BMap.Label(json.title,{"offset":new BMap.Size(json.icon.lb-json.icon.x+10,-20)});
			marker.setLabel(label);
            map.addOverlay(marker);
            label.setStyle({
                        borderColor:"#808080",
                        color:"#333",
                        cursor:"pointer"
            });
			
			(function(){
				var index = i;
				var _iw = createInfoWindow(i);
				var _marker = marker;
				_marker.addEventListener("click",function(){
				    this.openInfoWindow(_iw);
			    });
			    _iw.addEventListener("open",function(){
				    _marker.getLabel().hide();
			    })
			    _iw.addEventListener("close",function(){
				    _marker.getLabel().show();
			    })
				label.addEventListener("click",function(){
				    _marker.openInfoWindow(_iw);
			    })
				if(!!json.isOpen){
					label.hide();
					_marker.openInfoWindow(_iw);
				}
			})()
        }
    }
    //创建InfoWindow
    function createInfoWindow(i){
        var json = markerArr[i];
        var iw = new BMap.InfoWindow("<b class='iw_poi_title' title='" + json.title + "'>" + json.title + "</b><div class='iw_poi_content'>"+json.content+"</div>");
        return iw;
    }
    //创建一个Icon
    function createIcon(json){
        var icon = new BMap.Icon("http://app.baidu.com/map/images/us_mk_icon.png", new BMap.Size(json.w,json.h),{imageOffset: new BMap.Size(-json.l,-json.t),infoWindowOffset:new BMap.Size(json.lb+5,1),offset:new BMap.Size(json.x,json.h)})
        return icon;
    }
    
    initMap();//创建和初始化地图
</script>
<!-- //for bootstrap working -->
</body>
</html>